package com.UdpRecieve.Netty.util;

import com.UdpRecieve.domain.FilePigeonhole;

import java.io.FileOutputStream;

public class FileBlockClass {
    private FileOutputStream outputStream;

    private long fileLength;

    private long readLength;

    private String channelId;

    private FilePigeonhole filePigeonhole;

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public FileOutputStream getOutputStream() {
        return outputStream;
    }

    public void setOutputStream(FileOutputStream outputStream) {
        this.outputStream = outputStream;
    }

    public long getFileLength() {
        return fileLength;
    }

    public void setFileLength(long fileLength) {
        this.fileLength = fileLength;
    }

    public long getReadLength() {
        return readLength;
    }

    public void setReadLength(long readLength) {
        this.readLength = readLength;
    }

    public FilePigeonhole getFilePigeonhole() {
        return filePigeonhole;
    }

    public void setFilePigeonhole(FilePigeonhole filePigeonhole) {
        this.filePigeonhole = filePigeonhole;
    }
}
